package com.zlll.winner.enums.bbs;

import com.zlll.winner.enums.biz.Constant;

public class ActionLogEnum {

    /**
     * 业务类型枚举
     */
    public enum BizTypeEnum implements Constant {
        POST("贴子",1),
        COMMENT("评论",2);

        private String desc;
        private int value;

        BizTypeEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }

    /**
     * 操作类型枚举
     */
    public enum ActionTypeEnum implements Constant {
        LIKE("点赞",1),
        RELAY("转发",2),
        COMMENT("评论",3),
        REPLY("回复",4),
        REMOVE_COMMENT("删除评论",5),
        REMOVE("删除",6),
        UNLIKE("取消点赞",7);

        private String desc;
        private int value;

        ActionTypeEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }

    /**
     * 操作类型枚举
     */
    public enum ActionBizTypeEnum implements Constant {
        COMMENT("评论",1),
        REPLY("回复",2);

        private String desc;
        private int value;

        ActionBizTypeEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }

}
